function Stack()
{
 this.stack = [];
 this.pop = function(){
  return this.stack.pop();
 }
 this.push = function(item){
  this.stack.push(item);
 }
}